package com.hqyj.service;

import com.hqyj.pojo.ResultVo;

/**
 * @Description
 * @Autor 伍军
 * @Date 2022/9/22 14:02
 * @Version 1.0
 **/
public interface UserInfoService {
        //发送验证码
        ResultVo sendCode(String email);
        //邮箱登录
        ResultVo emailLogin(String email,String code);
        //发送短信验证码
        ResultVo sendSmsCode(String phone);
        //根据用户名查询权限
        ResultVo queryByName(String name);

}
